home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 11737 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1003 b 

  1. Path: li.net!jeremy
  2. From: jeremy@newshost.li.net (Jeremy Markman)
  3. Newsgroups: comp.os.ms-windows.programmer.tools.owl,comp.lang.c
  4. Subject: Re: How do I link a library to my program??
  5. Followup-To: comp.os.ms-windows.programmer.tools.owl,comp.lang.c
  6. Date: 25 Mar 1996 20:08:28 GMT
  7. Organization: LI Net (Long Island Network)
  8. Message-ID: <4j6ufs$ehf@linet06.li.net>
  9. References: <3143BFEE.167EB0E7@fnx.com.au> <4j4kga$rtj@newsbf02.news.aol.com>
  10. NNTP-Posting-Host: linet04.li.net
  11. X-Newsreader: TIN [version 1.2 PL2]
  12.  
  13. MMuratet (mmuratet@aol.com) wrote:
  14. : Greetings All,
  15.  
  16. : I have a set of routines in C (for random number generation) which I
  17. : compiled
  18. : C++ code, compile and link. The code compiles, but the two routines
  19. : generate
  20. : unknown symbol errors for the unresolved external. Any thoughts? Thanks.
  21. : Mike
  22.  
  23. Besides adding the library to your project, make sure you #include any 
  24. header files that may declare external variables...Check the 
  25. documentation that came with the libraries for examples...
  26.